﻿namespace Project_Maverick.Controller.Input
{
    public class PlayerInputCommand
    {
        public enum SourceType
        {
            Local,
            Network,
        }

        public PlayerInputCommand(PlayerInput.Action action, bool pressed, SourceType source)
        {
            Source = source;
            Pressed = pressed;
            Action = action;
        }

        public PlayerInput.Action Action { get; set; }
        public bool Pressed { get; set; }
        public SourceType Source { get; set; }

        public override string ToString()
        {
            return Action + " Source: " + Source;
        }
    }
}